/*
** my_malloc.h for malloc in /home/dubois_e//Downloads/malloc/1
** 
** Made by remi dubois
** Login   <dubois_e@epitech.net>
** 
** Started on  Wed Jan 30 11:14:50 2013 remi dubois
** Last update Fri Feb  8 16:29:21 2013 remi dubois
*/

#ifndef		MALLOC_H_
# define	MALLOC_H_

#include	<stddef.h>
#include	<unistd.h>
#include	<stdio.h>
#include	<stdlib.h>
#include	<string.h>
#include	<sys/resource.h>

typedef struct	s_data
{
  char		empty;
  unsigned int	size;
  struct s_data	*next;
}		data;

extern data	*first;

void		*malloc(size_t taille);
void		*realloc(void *ptr, size_t taille);
void		free(void *ptr);
void		show_alloc_mem(void);

#endif		/* MALLOC_H_ */
